package com.efast.dmom.mgmt.service.les.impl;

import java.util.List;

import com.efast.dmom.mgmt.dao.les.TwActAllocLotdDao;
import com.efast.dmom.mgmt.entity.les.TwActAllocLotd;
import com.efast.dmom.mgmt.service.les.TwActAllocLotdService;
import com.efast.dmom.mgmt.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TwActAllocLotdServiceImpl implements TwActAllocLotdService {
	@Autowired
	private TwActAllocLotdDao twActAllocLotdDao;

	@Override
	public long getTwActAllocLotdRowCount(Assist assist) {
		return twActAllocLotdDao.getTwActAllocLotdRowCount(assist);
	}

	@Override
	public List<TwActAllocLotd> selectTwActAllocLotd(Assist assist) {
		return twActAllocLotdDao.selectTwActAllocLotd(assist);
	}

	@Override
	public TwActAllocLotd selectTwActAllocLotdByObj(TwActAllocLotd obj) {
		return twActAllocLotdDao.selectTwActAllocLotdByObj(obj);
	}

	@Override
	public TwActAllocLotd selectTwActAllocLotdById(Integer id) {
		return twActAllocLotdDao.selectTwActAllocLotdById(id);
	}

	@Override
	public int insertTwActAllocLotd(TwActAllocLotd value) {
		return twActAllocLotdDao.insertTwActAllocLotd(value);
	}

	@Override
	public int insertNonEmptyTwActAllocLotd(TwActAllocLotd value) {
		return twActAllocLotdDao.insertNonEmptyTwActAllocLotd(value);
	}

	@Override
	public int insertTwActAllocLotdByBatch(List<TwActAllocLotd> value) {
		return twActAllocLotdDao.insertTwActAllocLotdByBatch(value);
	}

	@Override
	public int deleteTwActAllocLotdById(Integer id) {
		return twActAllocLotdDao.deleteTwActAllocLotdById(id);
	}

	@Override
	public int deleteTwActAllocLotd(Assist assist) {
		return twActAllocLotdDao.deleteTwActAllocLotd(assist);
	}

	@Override
	public int updateTwActAllocLotdById(TwActAllocLotd enti) {
		return twActAllocLotdDao.updateTwActAllocLotdById(enti);
	}

	@Override
	public int updateTwActAllocLotd(TwActAllocLotd value, Assist assist) {
		return twActAllocLotdDao.updateTwActAllocLotd(value, assist);
	}

	@Override
	public int updateNonEmptyTwActAllocLotdById(TwActAllocLotd enti) {
		return twActAllocLotdDao.updateNonEmptyTwActAllocLotdById(enti);
	}

	@Override
	public int updateNonEmptyTwActAllocLotd(TwActAllocLotd value, Assist assist) {
		return twActAllocLotdDao.updateNonEmptyTwActAllocLotd(value, assist);
	}

	public TwActAllocLotdDao getTwActAllocLotdDao() {
		return this.twActAllocLotdDao;
	}

	public void setTwActAllocLotdDao(TwActAllocLotdDao twActAllocLotdDao) {
		this.twActAllocLotdDao = twActAllocLotdDao;
	}

}